﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace DefeatEpidemic.Models
{
    public class Manager
    {
        public Guid id { get; set; } = Guid.NewGuid();

        public string name { get; set; }

        public string mobile { get; set; }

        public string idcard { get; set; }

        public string address { get; set; }

        public string password { get; set; }
        /// <summary>
        /// 0-普通管理员，1-全局管理员，可以管理全部社区
        /// </summary>
        public int role_type { get; set; } = 0;

        public DateTime created_at { get; set; } = DateTime.Now;
        public virtual Community community { get; set; }
    }
}
